﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tetris
{
    class PrintField
    {
        public Frame fr = new Frame();
        public ShapeCollection Sh = new ShapeCollection();
        public int marginX;


        public void PrintGameField()
        {
            Frame fr = new Frame();
            Console.Clear();
            fr.SetFrame(10, 5, 25, 25);
            GameLogic gl = new GameLogic();
        }
        public void PrintShape()
       {
           Sh.AddShapeToCollection();

           Random rnd = new Random();
           int q = rnd.Next(0, 1);


           Console.SetCursorPosition(Sh.MyShapes[q].b1.x+16, Sh.MyShapes[q].b1.y+6);
               Console.Write("■");

       }


    }
}
